from py_code.driver.Pin import Pin

引脚 = Pin
Pin.系统模式 = Pin.gpioMode
#引脚.编号 = Pin.id
Pin.引脚类型 = Pin.pinMode
#引脚.描述 = Pin.description
Pin.初始值 = Pin.initValue
Pin.重置值 = Pin.resetValue
Pin.当前值 = Pin.nowValue

Pin.初始化引脚 = Pin.initGpioPin
Pin.重置 = Pin.reset
Pin.清理 = Pin.cleanup
Pin.是否可读 = Pin.readable
Pin.读取 = Pin.read
Pin.是否可写 = Pin.writeable
Pin.写入 = Pin.write
Pin.写入低电平 = Pin.writeLow
Pin.写入高电平 = Pin.writeHigh